package com.example.pojo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 文章实体
 * @author zhaoqx
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Article implements Serializable {
	private static final long serialVersionUID = 1L;

	private String content;//内容
	private Date postTime;//发表时间
	private Long authorId;
	private User author;//作者
	private String ipAddress;//ip地址


}